<template>
  <div id="container">
    <h2>实施拥堵指数</h2>
    <table>
      <tr class="t1">
        <td></td>
        <td>高速/快速路&nbsp;&nbsp;&nbsp;&nbsp;主干路</td>
      </tr>
      <tr class="t2">
        <td>拥堵指数</td>
        <td>2.45</td>
        <td>1.43</td>
      </tr>
      <tr class="t3">
        <td>平局速度</td>
        <td>38.32km/h</td>
        <td>43.44km/h</td>
      </tr>
      <tr class="t4">
        <td>拥堵指数较上周同期</td>
        <td>129.0%</td>
        <td>3.6%</td>
      </tr>
    </table>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
#container {
  width: 100%;
  text-align: center;

  h2 {
    margin-top: 55px;
    font-size: 18px;
    font-weight: bold;
  }
  table {
    width: 90%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    left: 0;
    right: 0;
    margin-top: 10px;
    .t1,
    .t2,
    .t3,
    .t4 {
      width: 100%;
      border-bottom: 1px solid #ddd;
      text-align: right;
      height: 75px;
      line-height: 75px;
      display: flex;
      justify-content: space-around;
      td {
        align-self: auto;
      }
    }
    .t4 {
      border-bottom: 0px solid #ddd;
    }
  }
}
</style>